package org.dwpd.mapper.message;

import org.apache.ibatis.annotations.Mapper;
import org.dwpd.domain.message.Message;

import java.util.List;

@Mapper
public interface SearchMapper {

    List<Integer> selectStartPointByTerm(String word);

    List<Integer> selectEndPointByTerm(String word);

    List<Integer> selectPeopleNumByTerm(String word);

    Message selectMessageById(int id);
}
